package com.vhall.component.dao.order;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vhall.component.entity.order.IncomeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

/**
 * @author guoxin.wang
 * @date 2021/7/5 14:15
 */
@Mapper
@Repository
public interface IncomeMapper extends BaseMapper<IncomeEntity> {

    /**
     * 查看收入总和
     *
     * @param appId appId
     * @return 返回值
     */
    BigDecimal selectSum(String appId);

}
